
{% extends 'base.html' %}

{% block title %}登录 {% endblock %}

{% block js %}
    <script type="text/javascript">
         /*
                        $.ajaxSetup({
                            data:{csrfmiddlewaretoken:'{{ csrf_token }}'}
                        });

                        $.ajax({

                            url:"",
                            data:{"user":"gu"},
                            type:"POST",
                            success:function (response) {

                            }
                        });
         */

    </script>
{% endblock %}

{% block body %}
    <body style=" background: url(http://global.bing.com/az/hprichbg/rb/RavenWolf_EN-US4433795745_1920x1080.jpg) no-repeat center center fixed; background-size: 100%;">


        <div class="modal-dialog modal-dialog-centered center-block" ><!--style="margin-top: 0%"-->
            <div class="modal-content">
                <div class="modal-header">

                    <h4 class="modal-title text-center" id="myModalLabel">登录</h4>
                </div>
                <div class="modal-body" id = "model-body">
                    <div class="form-group">

                        <input type="text" class="form-control"placeholder="用户名" autocomplete="off">
                    </div>
                    <div class="form-group">

                        <input type="password" class="form-control" placeholder="密码" autocomplete="off">
                    </div>
                </div>
                <div class="modal-footer">
                    <div class="form-group">
                        <button type="button" class="btn btn-primary form-control">登录</button>
                    </div>
                    <div class="form-group">
                        <button type="button" class="btn btn-default form-control">注册</button>
                    </div>

                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </body>
{% endblock %}

